<html>
<head><meta charset="utf-8"><title>(no topic) · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html">(no topic)</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="161528674"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528674" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528674">(Mar 23 2019 at 14:46)</a>:</h4>
<p>Anyone else having issues with the vscode plugin atm? Whenever i try to type anything i'm only able to input letters, while newlines and similar all disappear into the ether.</p>



<a name="161528686"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528686" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528686">(Mar 23 2019 at 14:47)</a>:</h4>
<p>do you have vim plugin installed?</p>



<a name="161528692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528692">(Mar 23 2019 at 14:47)</a>:</h4>
<p>Is there anything in VS Code output panel for rust-analyzer?</p>



<a name="161528693"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528693" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528693">(Mar 23 2019 at 14:47)</a>:</h4>
<p>Yes. But i've uninstalled it, and it doesn't work without the vim plugin either.</p>



<a name="161528696"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528696" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528696">(Mar 23 2019 at 14:48)</a>:</h4>
<p>Should debug output be visible in the ctrl+J panel?</p>



<a name="161528740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528740">(Mar 23 2019 at 14:48)</a>:</h4>
<p>yeah, if anything blows up, ctrl+j sould show backtrace</p>



<a name="161528743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528743">(Mar 23 2019 at 14:49)</a>:</h4>
<p>If there are no errors, try adding <code>"rust-analyzer.enableEnhancedTyping": false</code>to your config</p>



<a name="161528754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528754">(Mar 23 2019 at 14:49)</a>:</h4>
<p>I'm getting multiple errors on the format:<br>
ERROR [ra_lsp_server::main_loop] unknown request: RawRequest { id: 107, method: "m/decorationsRequest", params: Object({"uri": String("file:///.../rust-analyzer/crates/ra_lsp_server/src/main_loop.rs")}) }</p>



<a name="161528761"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528761" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528761">(Mar 23 2019 at 14:49)</a>:</h4>
<p>perhaps my vscode is broken, I'm on linux so perhaps the version's become too old</p>



<a name="161528814"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528814" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528814">(Mar 23 2019 at 14:50)</a>:</h4>
<p>Also this:<br>
ERROR [ra_lsp_server::main_loop] unknown request: RawRequest { id: 52, method: "m/onEnter", params: Object({"position": Object({"character": Number(1), "line": Number(43)}), "textDocument": Object({"uri": String("file:///.../rust-analyzer/crates/ra_lsp_server/src/main.rs")})}) }</p>



<a name="161528869"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528869" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528869">(Mar 23 2019 at 14:52)</a>:</h4>
<p>I'll try to clean some more stuff, brb</p>



<a name="161528889"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528889" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528889">(Mar 23 2019 at 14:52)</a>:</h4>
<p><span class="user-mention" data-user-id="200130">@Capitalism</span> looks like you are using a waaaay outdated vscode plugin</p>



<a name="161528903"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161528903" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161528903">(Mar 23 2019 at 14:53)</a>:</h4>
<p>the fix is to do <code>cargo install-code</code> in the updated rust-analyzer repository</p>



<a name="161529313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161529313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161529313">(Mar 23 2019 at 15:05)</a>:</h4>
<p>Yeah, now everything works! Thanks.</p>



<a name="161529316"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161529316" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161529316">(Mar 23 2019 at 15:05)</a>:</h4>
<p>i was sure i had pulled the newest changes in my repo, but deleting everything and cloning again from GitHub fixed the issues.</p>



<a name="161530152"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161530152" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161530152">(Mar 23 2019 at 15:28)</a>:</h4>
<p>I'm getting crashes on autocomplete in main_loop.rs#57 if i attempt to autocomplete on task_sender, i get a crash in</p>
<div class="codehilite"><pre><span></span>thread &#39;&lt;unnamed&gt;&#39; panicked at &#39;assertion failed: `(left == right)`
  left: `2`,
 right: `1`&#39;, crates/ra_hir/src/ty.rs:294:17
</pre></div>


<p>Should i post an issue?</p>



<a name="161530259"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161530259" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161530259">(Mar 23 2019 at 15:31)</a>:</h4>
<p>yep, cc <span class="user-mention" data-user-id="129457">@Florian Diebold</span></p>



<a name="161531087"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/161531087" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Capitalism <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#161531087">(Mar 23 2019 at 15:52)</a>:</h4>
<p>Posted <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1030" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1030">https://github.com/rust-analyzer/rust-analyzer/issues/1030</a></p>



<a name="167970346"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167970346" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167970346">(Jun 12 2019 at 17:44)</a>:</h4>
<p>Hi,  <span class="user-mention" data-user-id="133169">@matklad</span>  are you considering publishing ra_ide_api crate anytime soon ?</p>



<a name="167970411"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167970411" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167970411">(Jun 12 2019 at 17:45)</a>:</h4>
<p>No, it's API changes pretty frequently... You could, however, use it as a git dependency</p>



<a name="167970640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167970640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167970640">(Jun 12 2019 at 17:47)</a>:</h4>
<p>Ah, I want to use it on a published crate, thats why I cant use git dependency, but I guess its understandable I can stick with racer for now</p>



<a name="167970744"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167970744" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167970744">(Jun 12 2019 at 17:48)</a>:</h4>
<p>yeah, it's definitely not ready for being used as a proper dependency</p>



<a name="167970769"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167970769" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167970769">(Jun 12 2019 at 17:49)</a>:</h4>
<p>Curious, why exactly do you want to use ra_ide_api?</p>



<a name="167971241"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167971241" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167971241">(Jun 12 2019 at 17:54)</a>:</h4>
<p>If you want, you can totally publish it yourself under <code>lrust-ra_ide_api</code> name!</p>
<p>Just be advised that the API will change</p>



<a name="167971345"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167971345" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167971345">(Jun 12 2019 at 17:56)</a>:</h4>
<p>Ha I thaught about it but that seriously feels uncool</p>



<a name="167971495"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167971495" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167971495">(Jun 12 2019 at 17:57)</a>:</h4>
<p>I thaught maybe atleast not to reserve the name and publish it under some random string name</p>



<a name="167971512"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167971512" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167971512">(Jun 12 2019 at 17:57)</a>:</h4>
<p>a GUID :D</p>



<a name="167971817"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167971817" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167971817">(Jun 12 2019 at 18:00)</a>:</h4>
<p><span class="user-mention" data-user-id="203576">@Nbiba Bedis</span> I am 100% ok with someone publishing rust-analyzer to <a href="http://crates.io" target="_blank" title="http://crates.io">crates.io</a>, as long as they add a prefix to the name of each crate</p>



<a name="167972041"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/167972041" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#167972041">(Jun 12 2019 at 18:02)</a>:</h4>
<p><span class="user-mention" data-user-id="133169">@matklad</span> Ok thanks a lot ^^</p>



<a name="171664605"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/171664605" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#171664605">(Jul 25 2019 at 05:20)</a>:</h4>
<p>(removed)</p>



<a name="171968594"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/171968594" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#171968594">(Jul 29 2019 at 17:57)</a>:</h4>
<p>&lt;posted to wrong topic, please ignore&gt;</p>



<a name="187663898"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/187663898" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ray <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#187663898">(Feb 07 2020 at 18:06)</a>:</h4>
<p>Hi, first time user of rust-analyser, thanks, it is really working more awesome than rls. I noticed the install required node. Will node continue to be req for using it?</p>



<a name="187664055"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/187664055" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Emil Lauridsen <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#187664055">(Feb 07 2020 at 18:08)</a>:</h4>
<p>Node is only required for building the VSCode extension. We're working on getting it to the point where we can publish it to the VSCode extension marketplace so that it won't be nececsary any more.</p>



<a name="187680169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/187680169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Seb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#187680169">(Feb 07 2020 at 21:07)</a>:</h4>
<p>I just installed RA for the first time yesterday. First of massive thanks to everyone here working on it. RA's macro expansion and type checkers are awesome UX improvements over my previous IDE. Installation was a breeze thanks to artifacts published on GitHub. Cheers!</p>



<a name="187680317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/187680317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Seb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#187680317">(Feb 07 2020 at 21:09)</a>:</h4>
<p><span class="user-mention" data-user-id="262816">@Ray</span> To install vscode extension without node, you can grab prebuilt package from <a href="https://github.com/rust-analyzer/rust-analyzer/releases" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/releases">https://github.com/rust-analyzer/rust-analyzer/releases</a> and then open up you shell and run 'code --install-extension path/to/rust-analyzer-0.1.0.vsix'</p>



<a name="189946338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/189946338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> andyp <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#189946338">(Mar 06 2020 at 23:54)</a>:</h4>
<p>When I try to "goto definition" in VsCode, only symbols in my code work, anything else, such as io::Result, or UdpSocket (from mio) just say "No definition found for ...". </p>
<p>In general Rust Analyzer is working, I can do things like "Show Syntax Tree". I have tried with both the latest published rust-analyzer VsCode extension, and with a local source build from master. I  assume this is a scenario that should work?</p>



<a name="189949634"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/189949634" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> andyp <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#189949634">(Mar 07 2020 at 00:53)</a>:</h4>
<p>Answering my own question, this comes down to not referencing the module this code was in from <a href="http://main.rs" target="_blank" title="http://main.rs">main.rs</a>, sorry for the noise.</p>
<p><span class="user-mention silent" data-user-id="269559">andyp</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/(no.20topic)/near/189946338" title="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/(no.20topic)/near/189946338">said</a>:</p>
<blockquote>
<p>When I try to "goto definition" in VsCode, only symbols in my code work, anything else, such as io::Result, or UdpSocket (from mio) just say "No definition found for ...". </p>
<p>In general Rust Analyzer is working, I can do things like "Show Syntax Tree". I have tried with both the latest published rust-analyzer VsCode extension, and with a local source build from master. I  assume this is a scenario that should work?</p>
</blockquote>



<a name="195469301"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/195469301" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> totsteps <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#195469301">(Apr 27 2020 at 20:14)</a>:</h4>
<p>What <code>syntax-highlighter</code> does <code>ra</code> uses?</p>
<p>Is it <a href="https://github.com/tree-sitter/tree-sitter" title="https://github.com/tree-sitter/tree-sitter">tree-sitter</a> or custom?</p>



<a name="195470342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/%28no%20topic%29/near/195470342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/(no.20topic).html#195470342">(Apr 27 2020 at 20:22)</a>:</h4>
<p>custom: <a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/syntax_highlighting.rs" title="https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/syntax_highlighting.rs">https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/syntax_highlighting.rs</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>